package io.renren.modules.app.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.entity.company.YcCompanyFind;
import io.renren.modules.app.entity.company.YcUserFind;
import io.renren.modules.app.entity.index.YcRecommend;
import io.renren.modules.app.entity.user.UserIntentionJobEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 * @author lym
 * @email 928185446qq.com
 * @date 2023-12-21 17:03:21
 */
public interface UserIntentionJobService extends IService<UserIntentionJobEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<UserIntentionJobEntity> queryByUserId(Integer userId);

    UserIntentionJobEntity getInfoById(Integer id);

    /**
     * 查询公司发现页数据
     */
    List<YcCompanyFind> selectCompanyFindList(String titles, String area, String trade, String scale, String age, String cityId, Integer page, Integer limit);

    /**
     * 查询用户发现页数据
     */
    List<YcUserFind> selectUserFindList(String titles, String area, String trade, String scale, String age,
                                        String cityId, Integer page, Integer limit);

    boolean updateCompanyMemberPoints(String companyId);

    List<YcRecommend> getRecommendList(String area, String companyName, Integer page, Integer limit);
}

